.class Lcom/netease/netstat/statistics/StatisticsService$7;
.super Ljava/lang/Object;
.source "StatisticsService.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/netstat/statistics/StatisticsService;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/netstat/statistics/StatisticsService;


# direct methods
.method constructor <init>(Lcom/netease/netstat/statistics/StatisticsService;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/netstat/statistics/StatisticsService$7;->this$0:Lcom/netease/netstat/statistics/StatisticsService;

    .line 200
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 7

    .prologue
    .line 204
    new-instance v2, Lcom/netease/netstat/statistics/JsonGetTime;

    iget-object v3, p0, Lcom/netease/netstat/statistics/StatisticsService$7;->this$0:Lcom/netease/netstat/statistics/StatisticsService;

    iget-object v3, v3, Lcom/netease/netstat/statistics/StatisticsService;->context:Landroid/content/Context;

    invoke-direct {v2, v3}, Lcom/netease/netstat/statistics/JsonGetTime;-><init>(Landroid/content/Context;)V

    .line 205
    .local v2, json:Lcom/netease/netstat/statistics/JsonGetTime;
    invoke-virtual {v2}, Lcom/netease/netstat/statistics/JsonGetTime;->getJsonReponseTime()V

    .line 206
    const/4 v1, 0x0

    .line 207
    .local v1, i:I
    :cond_0
    :goto_0
    sget-object v3, Lcom/netease/netstat/utils/Contanst;->statistic:Lcom/netease/netstat/utils/Statistic;

    invoke-virtual {v3}, Lcom/netease/netstat/utils/Statistic;->getJson()J

    move-result-wide v3

    const-wide/16 v5, 0x0

    cmp-long v3, v3, v5

    if-lez v3, :cond_1

    .line 218
    :goto_1
    return-void

    .line 209
    :cond_1
    const-wide/16 v3, 0x3e8

    :try_start_0
    invoke-static {v3, v4}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0

    .line 210
    add-int/lit8 v1, v1, 0x1

    .line 212
    const/16 v3, 0xa

    if-le v1, v3, :cond_0

    goto :goto_1

    .line 214
    :catch_0
    move-exception v0

    .line 215
    .local v0, e:Ljava/lang/InterruptedException;
    invoke-virtual {v0}, Ljava/lang/InterruptedException;->printStackTrace()V

    goto :goto_0
.end method
